class Foods:
    def __init__(self, name, price, production_place):
        self.name = name
        self.price = price
        self.production_place = production_place

    def how_to_eat(self):
        if self.price > 10:
            print("Drive a Ferrari with one hand to eat " + self.name + " in " + self.production_place + ".")

        elif self.price <= 10:
            print("Eat " + self.name + " at home.")


lemon = Foods("lemon", 30, "Guilin")
lemon.how_to_eat()
kiwi = Foods("kiwi", 5, "Singapore")
kiwi.how_to_eat()


class Toys:
    def __init__(self, name, material):
        self.name = name
        self.material = material

    def play(self):
        print("play " + self.name + " made of " + self.material + ".")


toy01 = Toys("a little yellow duck", "plastic")
toy01.play()

toy02 = Toys("a barbie doll", "rags")
toy02.play()
